package com.invengo.library_db.entity.module_check;

import com.google.gson.annotations.SerializedName;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Index;

import java.io.Serializable;

@Entity
public class BookCarBean implements Serializable{
    /**
     * Serializable
     */
    private static final long serialVersionUID = 1L;
    @org.greenrobot.greendao.annotation.Id(autoincrement = true)
    @Index
    private Long Id;

    @Index
    @SerializedName("carrino")
    private String carId;

    @SerializedName("carriName")
    private String carName;
    @SerializedName("szbookids")
    private String bookIds;
    @Generated(hash = 674674461)
    public BookCarBean(Long Id, String carId, String carName, String bookIds) {
        this.Id = Id;
        this.carId = carId;
        this.carName = carName;
        this.bookIds = bookIds;
    }
    @Generated(hash = 1471411992)
    public BookCarBean() {
    }
    public Long getId() {
        return this.Id;
    }
    public void setId(Long Id) {
        this.Id = Id;
    }
    public String getCarId() {
        return this.carId;
    }
    public void setCarId(String carId) {
        this.carId = carId;
    }
    public String getCarName() {
        return this.carName;
    }
    public void setCarName(String carName) {
        this.carName = carName;
    }
    public String getBookIds() {
        return this.bookIds;
    }
    public void setBookIds(String bookIds) {
        this.bookIds = bookIds;
    }

    @Override
    public String toString() {
        return "BookCarBean{" +
                "Id=" + Id +
                ", carId='" + carId + '\'' +
                ", carName='" + carName + '\'' +
                ", bookIds='" + bookIds + '\'' +
                '}';
    }
}
